﻿
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="Bookmark" href="/favicon.ico">
    <link rel="Shortcut Icon" href="/favicon.ico" />

    <link rel="stylesheet" type="text/css" href="~/DirectSellJs/manager/static/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="~/DirectSellJs/manager/static/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="~/DirectSellJs/manager/lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="~/DirectSellJs/manager/static/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="~/DirectSellJs/manager/static/h-ui.admin/css/style.css" />
    <!--_footer 作为公共模版分离出去-->
    <script type="text/javascript" src="~/DirectSellJs/manager/lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="~/DirectSellJs/manager/lib/layer/2.4/layer.js"></script>
    <script type="text/javascript" src="~/DirectSellJs/manager/static/h-ui/js/H-ui.min.js"></script>
    <script type="text/javascript" src="~/DirectSellJs/manager/static/h-ui.admin/js/H-ui.admin.js"></script>
    <!--/_footer 作为公共模版分离出去-->
</head>
<body>

    <header class="navbar-wrapper">
        <div class="navbar navbar-fixed-top">
            <div class="container-fluid cl">
                <a class="logo navbar-logo f-l mr-10 hidden-xs" href="#">OpenMms</a> <a class="logo navbar-logo-m f-l mr-10 visible-xs" href="#">H-ui</a>
                <span class="logo navbar-slogan f-l mr-10 hidden-xs">v2.0</span>
                <a aria-hidden="false" class="nav-toggle Hui-iconfont visible-xs" href="javascript:;">&#xe667;</a>
                <nav id="Hui-userbar" class="nav navbar-nav navbar-userbar hidden-xs">
                    <ul class="cl">
                        <li>超级管理员</li>
                        <li class="dropDown dropDown_hover">
                            <a href="#" class="dropDown_A">admin <i class="Hui-iconfont">&#xe6d5;</i></a>
                            <ul class="dropDown-menu menu radius box-shadow">
                                <li><a href="javascript:;" onClick="myselfinfo()">个人信息</a></li>
                                <li><a href="#">切换账户</a></li>
                                <li><a href="#">退出</a></li>
                            </ul>
                        </li>
                        <li id="Hui-msg"> <a href="#" title="消息"><span class="badge badge-danger">1</span><i class="Hui-iconfont" style="font-size:18px">&#xe68a;</i></a> </li>
                        <li id="Hui-skin" class="dropDown right dropDown_hover">
                            <a href="javascript:;" class="dropDown_A" title="换肤"><i class="Hui-iconfont" style="font-size:18px">&#xe62a;</i></a>
                            <ul class="dropDown-menu menu radius box-shadow">
                                <li><a href="javascript:;" data-val="default" title="默认（黑色）">默认（黑色）</a></li>
                                <li><a href="javascript:;" data-val="blue" title="蓝色">蓝色</a></li>
                                <li><a href="javascript:;" data-val="green" title="绿色">绿色</a></li>
                                <li><a href="javascript:;" data-val="red" title="红色">红色</a></li>
                                <li><a href="javascript:;" data-val="yellow" title="黄色">黄色</a></li>
                                <li><a href="javascript:;" data-val="orange" title="橙色">橙色</a></li>
                            </ul>
                        </li>
                    </ul>
                </nav>
            </div>
        </div>
    </header>
    <aside class="Hui-aside">
        <div class="menu_dropdown bk_2">
            <dl id="menu-article">
                <dt><i class="Hui-iconfont">&#xe616;</i> 用户中心<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                <dd>
                    <ul>
                        <li><a data-href="/Manager/MemberList/Index" data-title="用户列表" href="javascript:void(0)">用户列表</a></li>
                        <li><a data-href="/Manager/BackRefreeMap/Index" data-title="推荐结构" href="javascript:void(0)">推荐结构</a></li>
                        <li><a data-href="/Manager/BackNetworkMap/Index" data-title="位置网络图" href="javascript:void(0)">位置网络图</a></li>
                        <li><a data-href="/Manager/BackUpgradeAudit/Index" data-title="会员升级" href="javascript:void(0)">会员升级</a></li>
                    </ul>
                </dd>
            </dl>
            <dl id="menu-picture">
                <dt><i class="Hui-iconfont">&#xe613;</i> 财务中心<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                <dd>
                    <ul>
                        @*<li><a data-href="picture-list.html" data-title="奖金总表" href="javascript:void(0)">奖金总表</a></li>
                            <li><a data-href="picture-list.html" data-title="奖金日报表" href="javascript:void(0)">奖金日报表</a></li>*@
                        <li><a data-href="/Manager/VirtualMoneyAudit/Index" data-title="电子币管理" href="javascript:void(0)">电子币管理</a></li>
                        <li><a data-href="/Manager/RealMoneyAudit/Index" data-title="提现审批" href="javascript:void(0)">提现审批</a></li>
                        @*<li><a data-href="picture-list.html" data-title="拨出比例" href="javascript:void(0)">拨出比例</a></li>*@
                    </ul>
                </dd>
            </dl>
            @*<dl id="menu-product">
                    <dt><i class="Hui-iconfont">&#xe620;</i> 产品管理 <i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                    <dd>
                        <ul>
                            <li><a data-href="product-list.html" data-title="产品分类" href="javascript:void(0)">产品分类</a></li>
                            <li><a data-href="product-list.html" data-title="全部产品" href="javascript:void(0)">全部产品 </a></li>
                            <li><a data-href="product-list.html" data-title="未处理订单" href="javascript:void(0)">未处理订单 </a></li>
                            <li><a data-href="product-list.html" data-title="已处理订单" href="javascript:void(0)">已处理订单 </a></li>
                        </ul>
                    </dd>
                </dl>*@
            @*<dl id="menu-comments">
                    <dt><i class="Hui-iconfont">&#xe622;</i> 留言中心<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                    <dd>
                        <ul>
                            <li><a data-href="feedback-list.html" data-title="收件箱" href="javascript:void(0)">收件箱</a></li>
                            <li><a data-href="feedback-list.html" data-title="发件箱" href="javascript:void(0)">发件箱</a></li>
                        </ul>
                    </dd>
                </dl>*@
            <dl id="menu-member">
                <dt><i class="Hui-iconfont">&#xe60d;</i> 服务中心管理<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                <dd>
                    <ul>
                        <li><a data-href="/Manager/ServiceCenterAudit/Index" data-title="服务中心管理" href="javascript:;">服务中心管理</a></li>
                    </ul>
                </dd>
            </dl>
            <dl id="menu-admin">
                <dt><i class="Hui-iconfont">&#xe62d;</i> 信息中心<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                <dd>
                    <ul>
                        <li><a data-href="/Manager/Notice/Index" data-title="公告列表" href="javascript:void(0)">公告列表</a></li>
                        <li><a data-href="/Manager/NoticeAdd/Index" data-title="发布公告" href="javascript:void(0)">发布公告</a></li>
                    </ul>
                </dd>
            </dl>
            <dl id="menu-admin">
                <dt><i class="Hui-iconfont">&#xe62d;</i> 留言中心<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                <dd>
                    <ul>
                        <li><a data-href="/Manager/MessageManage/Index" data-title="留言管理" href="javascript:void(0)">留言管理</a></li>
                        <li><a data-href="/Manager/ReplyList/Index" data-title="回复列表" href="javascript:void(0)">回复列表</a></li>
                    </ul>
                </dd>
            </dl>
            <dl id="menu-tongji">
                <dt><i class="Hui-iconfont">&#xe61a;</i> 系统设置<i class="Hui-iconfont menu_dropdown-arrow">&#xe6d5;</i></dt>
                <dd>
                    <ul>
                        @*<li><a data-href="/Manager/Admin/Index" data-title="管理员管理" href="javascript:void(0)">管理员管理</a></li>*@
                        <li><a data-href="/Manager/DelMsg/Index" data-title="清空数据" href="javascript:void(0)">清空数据</a></li>
                    </ul>
                </dd>
            </dl>
        </div>
    </aside>
    <div class="dislpayArrow hidden-xs"><a class="pngfix" href="javascript:void(0);" onClick="displaynavbar(this)"></a></div>
    <section class="Hui-article-box">
        <div id="Hui-tabNav" class="Hui-tabNav hidden-xs">
            <div class="Hui-tabNav-wp">
                <ul id="min_title_list" class="acrossTab cl">
                    <li class="active">
                        <span title="我的桌面" data-href="/Home/Index">我的桌面</span>
                        <em></em>
                    </li>
                </ul>
            </div>
            <div class="Hui-tabNav-more btn-group"><a id="js-tabNav-prev" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d4;</i></a><a id="js-tabNav-next" class="btn radius btn-default size-S" href="javascript:;"><i class="Hui-iconfont">&#xe6d7;</i></a></div>
        </div>
        <div id="iframe_box" class="Hui-article">
            <div class="show_iframe">
                <div style="display:none" class="loading"></div>
                <div class="page-container">
                    @*<p class="f-20 text-success">欢迎使用H-ui.admin <span class="f-14">v3.1</span>后台模版！</p>*@
                    <p>欢迎光临OpenMms</p>
                    @*<p>上次登录IP：222.35.131.79.1  上次登录时间：2014-6-14 11:19:55</p>*@
                    <table class="table table-border table-bordered table-bg">
                        <thead>
                            <tr>
                                <th colspan="7" scope="col">信息统计</th>
                            </tr>
                            <tr class="text-c">
                                <th>用户列表</th>
                                <th>Test1</th>
                                <th>Test2</th>
                                <th>Test3</th>
                                <th>Test4</th>
                                <th>Test5</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="text-c">
                                <td>总数</td>
                                <td>92</td>
                                <td>9</td>
                                <td>0</td>
                                <td>8</td>
                                <td>20</td>
                            </tr>
                            <tr class="text-c">
                                <td>今日</td>
                                <td>0</td>
                                <td>0</td>
                                <td>0</td>
                                <td>0</td>
                                <td>0</td>
                            </tr>
                            <tr class="text-c">
                                <td>昨日</td>
                                <td>0</td>
                                <td>0</td>
                                <td>0</td>
                                <td>0</td>
                                <td>0</td>
                            </tr>
                            <tr class="text-c">
                                <td>本周</td>
                                <td>2</td>
                                <td>0</td>
                                <td>0</td>
                                <td>0</td>
                                <td>0</td>
                            </tr>
                            <tr class="text-c">
                                <td>本月</td>
                                <td>2</td>
                                <td>0</td>
                                <td>0</td>
                                <td>0</td>
                                <td>0</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </section>

    @*<div class="contextMenu" id="Huiadminmenu">
        <ul>
            <li id="closethis">关闭当前 </li>
            <li id="closeall">关闭全部 </li>
        </ul>
    </div>*@

</body>
</html>

<script src="~/scripts/jquery.signalR-2.4.0.min.js"></script>
<script>
    //未读留言
    $(function () {
        //监听用户发送留言
        var connection = $.connection("/Connections/ChatConnections");
        connection.received(function (data) {
            layer.closeAll();
            layer.open({
                type: 2,
                shade: [0],
                title: '您有新的留言',
                shadeClose: true,
                shade: false,
                area: ['280px', '215px'],
                content: ['/Manager/Home/Ifarme', 'no'], //iframe的url，no代表不显示滚动条
                offset: 'rb' //右下角弹出
            });
        });

        connection.start().done(function () {
        });
        //刷新页面查询是否有未读留言
        $.ajax({
            type: "post",
            url: "/Manager/Home/QueryExist"
        }).success(function (message) {
            if (message == "Yes") {
                layer.open({
                    type: 2,
                    shade: [0],
                    title: '您有新的留言',
                    shadeClose: true,
                    shade: false,
                    area: ['280px', '215px'],
                    content: ['/Manager/Home/Ifarme', 'no'], //iframe的url，no代表不显示滚动条
                    offset: 'rb' //右下角弹出
                });
            }
        }).fail(function (err) {
            layer.msg('未能读取未读留言', { icon: 2 });
        })
    });
</script>